<template>
    <van-tabbar v-model="coreTabbarItemsComponentStore.active" @change="coreTabbarItemsComponentStore.onChange">
        <van-tabbar-item v-for="item in coreTabbarItemsComponentStore.items" :icon="item.icon">
            {{ item.text }}
        </van-tabbar-item>
    </van-tabbar>
</template>

<script setup lang="ts">
const coreTabbarItemsComponentStore = useCoreTabbarItemsComponentStore()
</script>

<style scoped></style>